from odoo import api, models, fields


class ProductImpedance(models.Model):
    _name = 'product.impedance'
    _description = 'Product Impedance'

    impedance_layer = fields.Char(string='Impedance Layer')
    reference_layer_up = fields.Char(string='Reference Layer(Up)')
    reference_layer_down = fields.Char(string='Reference Layer(Down)')
    impedance_type = fields.Char(string='Impedance Type')
    customer_mid_value = fields.Char(string='Customer Mid Value')
    customer_allowance_add = fields.Char(string='Customer Allowance+')
    customer_allowance_dde = fields.Char(string='Customer Allowance-')
    customer_allowance = fields.Char(string='Customer Allowance(%)')
    customer_line_width = fields.Char(string='Customer line width')
    customer_line_spac = fields.Char(string='Customer line Spacing')
    customer_line_width_cu = fields.Char(string='Customer line Cu')  # 线到铜皮
    factory_line_width = fields.Char(string='Factory line width')
    factory_line_spac = fields.Char(string='Factory line Spacing')  # （厂内）
    factory_line_width_cu = fields.Char(string='Factory line Cu')  # （厂内）线到铜皮
    semi_impedance_mid = fields.Char(string='Semi Impedance Mid')  # 半成品阻抗中值
    semi_impedance_allowance = fields.Char(string='Semi Impedance Allowance')  # 半成品阻抗公差
    simulate_impedance_before = fields.Char(string='Simulate Impedance')  # 模拟阻抗-阻焊前
    simulate_impedance_finished = fields.Char(string='Simulate Impedance Finished')  # 模拟阻抗-成品
    impedance_line_corrosion = fields.Char(string='Impedance Line Corrosion')  # 阻抗腐蚀补偿
    remark = fields.Char(string='Remark')  # 备注
